//
//  YSVoucherHeaderView.m
//  Yueshi
//
//  Created by Northwan on 15/9/24.
//  Copyright © 2015年 悦食中国. All rights reserved.
//

#import "YSVoucherHeaderView.h"
#import "YSMineDataTool.h"

@implementation YSVoucherHeaderView

+(instancetype)headerView{

    return [[[NSBundle mainBundle]loadNibNamed:@"YSVoucherHeaderView" owner:nil options:nil]lastObject];
}

- (IBAction)tapValidate:(id)sender {
    //发一个通知
    [[NSNotificationCenter defaultCenter]postNotificationName:kValidateVoucherSuccessNortif object:self.voucherTF.text];
}

@end
